Total Complexity | 94 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 696 |
Lines of code | 377 |
Logical lines of code | 168 |
Comment lines | 115 |
Methods | 16 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
notice() | 31 | 36 | 116 | |
__construct() | 47 | 14 | 33 | |
migrate_logs() | 44 | 10 | 48 | |
get_old_logs() | 45 | 7 | 45 | |
trash_all_old_logs() | 51 | 4 | 28 | |
remove_extra_keys() | 53 | 3 | 24 | |
update_database() | 63 | 3 | 10 | |
log() | 63 | 3 | 10 | |
get_migrated_count() | 61 | 2 | 14 | |
have_old_logs() | 64 | 2 | 10 | |
is_migrated() | 69 | 2 | 7 | |
switch_back() | 68 | 2 | 7 | |
switch_to_new() | 68 | 2 | 7 | |
create_log_file() | 65 | 2 | 9 | |
get_last_old_log() | 71 | 1 | 6 | |
enqueue_script() | 78 | 1 | 3 |